AuthChallenge

data class AuthChallenge(source: String?, origin: String, scheme: String, realm: String)

Authorization challenge for HTTP status code 401 or 407.

Constructors

AuthChallenge
Link copied to clipboard
fun AuthChallenge(source: String? = null, origin: String, scheme: String, realm: String)

Properties

origin
Link copied to clipboard
val origin: String
Origin of the challenger.
realm
Link copied to clipboard
val realm: String
The realm of the challenge.
scheme
Link copied to clipboard
val scheme: String
The authentication scheme used, such as basic or digest
source
Link copied to clipboard
val source: String? = null
Source of the authentication challenge.

Sources

jvm source
Link copied to clipboard